<?php

	/**
	 * Elgg Flickr widget
	 * This plugin allows users to pull in their flickr photos to display on their profile
	 * 
	 * @package ElggFlickr
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider Ltd <info@elgg.com>
	 * @copyright Curverider Ltd 2008
	 * @link http://elgg.com/
	 */
	
		function flickr_init() {
    		
    		
    		// Extend system JS with our own javascript, which are defined in the flickr/scripts view
				//extend_view('js','flickr/js/cycle'); //FIND OUT ABOUT THIS?
			
    		//add a widget
			    add_widget_type('flickr',"Flickr","This is your flickr feed");
			
		}
		
		register_elgg_event_handler('init','system','flickr_init');

?>